<?php

require 'application/modele/commande.php';

$id = $_SESSION['id'];

$commande = new Commande($mdb2);

$commandes = $commande->commandesUtilisateur($id);

$smarty->assign("commandes", $commandes);
$smarty->display("historique.tpl");

?>
